package com.stylefeng.guns.modular.system.warpper;

import com.stylefeng.guns.common.constant.enums.ImageType;
import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;

import java.util.Map;

public class BannerWarpper extends BaseControllerWarpper {

    public  BannerWarpper(Object object){
        super(object);
    }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        map.put("ImageTypeName", ImageType.valueOf((Integer)map.get("type")));
    }
}
